#include <REGX52.H>
#include "key.h"
#include "lcd1602.h"

void main(void){
	unsigned char keyCode=0;
	LCD_Init();	
	LCD_ShowString(1,1,"KeyCode:");
	
	while(1){
		keyCode=Key_GetKeyCode();
		if(keyCode){
			LCD_ShowNum(1,9,keyCode,2);
		}
	}
}
	